package com.cn.designpatterns.ex.concrete.decorator;

/**
 * @author zhangyi
 * @date 2018/12/25 14:55
 */
public abstract class ShapeDecorator implements Shape{

     Shape shape;

    public ShapeDecorator(Shape shape) {
        this.shape = shape;
    }

    @Override
    public void draw() {
        shape.draw();
    }
}
